package com.zm.cinema.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author zm
 * @since 2024-08-26
 */
@Data
@TableName("movie")
public class Movie implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 电影名字
     */
    @TableField("name")
    private String name;

    /**
     * 上映时间
     */
    @TableField("time")
    private String time;

    /**
     * 地区
     */
    @TableField("area")
    private String area;

    /**
     * 类别
     */
    @TableField("type")
    private String type;

    /**
     * 时长
     */
    @TableField("length")
    private String length;

    /**
     * 导演
     */
    @TableField("director")
    private String director;

    /**
     * 演员
     */
    @TableField("actor")
    private String actor;

    /**
     * 介绍
     */
    @TableField("introduce")
    private String introduce;

    /**
     * 图片
     */
    @TableField("img")
    private String img;

    /**
     * 状态
     */
    @TableField("status")
    private Integer status;


}
